package com.ooqiu.gaming.ui.main.thread.index.content;

import com.ooqiu.gaming.api.entities.Article;
import com.ooqiu.gaming.base.BasePresenter;
import com.ooqiu.gaming.base.BaseView;

import java.util.List;

/**
 * @author Eenie
 * @date 2017/11/22
 */

public interface IndexContentContract {

    interface View extends BaseView {
        void showLoading();

        void hideLoading();

        void onRefreshComplete();


        void haveNext();

        void onFetchArticleList(List<Article> articles,Boolean isRefresh);

    }

    interface Presenter extends BasePresenter<View> {
        void fetchArticleList(int page,int typeId, boolean isRefresh);
    }

}
